<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>导入学生信息</title>
    <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.4.1/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

<div class="container">
    <center>
        <h1>导入学生信息</h1>
        <a href="templet/导入学生信息模板.xlsx">学生信息模板</a>
        <div style="color: red">请下载模板，按照模板中的内容填写学生信息，填写后将学生信息文件上传进行导入！</div>
    </center>
    <form class="form-horizontal" method="post" enctype="multipart/form-data" action="doimport.jsp">
        <div class="form-group">
            <label class="control-label col-sm-4">请选择导入的学生信息</label>
            <div class="col-sm-8">
                <input id="file" name="file" type="file" class="form-control">
            </div>
        </div>

        <center>

            <button id="submit" type="submit" class="btn btn-info glyphicon glyphicon-upload">上传</button>
            <button type="button" class="btn btn-primary glyphicon glyphicon-home" id="index">回首页</button>
        </center>
    </form>
</div>


<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.4.1/js/bootstrap.min.js"></script>

<script>
    $("#index").click(function (){
        window.location.href="index.jsp";
    });
</script>
</body>
</html>
